package com.woniuxy.oldmanapi.mapper;

import com.woniuxy.oldmanapi.entity.Life;
import com.woniuxy.oldmanapi.yvo.LifeVo;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
@Repository
public interface LifeMapper extends Mapper<Life> {
    List<LifeVo> initSelectAllByCons(String name);

    LifeVo selectLifeById(int id);
}